<template>
	<view class="experts">
		<view class="search">
			<input type="text" placeholder="姓名/称谓" v-model="healthStr" @input="getUserHealth"> 
			<image src="../../../static/img/index/search.png"></image>
		</view>
		<view class="uni-list">
			<u-radio-group v-model="value" >
				<u-radio v-for="(item, index) in list" :name="item.realName" :key="index" active-color="#38CB97">
					<view class="checkboxExperts">
						<view class="psa"  @click="radioChange(item)"></view>
						<image mode="aspectFill" :src="item.headPicture" class="image"></image>
						<view class="content"><text>{{item.realName}}</text><text>{{item.appellations}}</text></view>
					</view>
				</u-radio>
			</u-radio-group>
		</view>
		<view class="footer">
			<view class="headPortait" v-if="show">
				<image mode="aspectFill" v-if="content.headPicture" :src="content.headPicture"></image>
			</view>
			<text class="preserve" @click="save" v-if="!value">暂不选择</text>
			<text class="preserve" @click="save" v-else>保存</text>
		</view>
		<u-modal v-model="showModal" show-cancel-button :content="showContent"  @confirm="Modalconfirm" ></u-modal>
	</view>
</template>

<script src="@/static/js/theHead/selectHealth/selectHealth.js"></script>

<style lang="scss" scoped>
	@import '@/static/css/theHead/selectHealth/selectHealth.scss';
</style>
